from django.contrib import admin
from user.models import *
from branch.models import *

admin.site.register(InviteCode)



# class DYInfo(admin.StackedInline):
#     model=ZSDYList

@admin.register(UserInfo)
class ControlCard(admin.ModelAdmin):
    list_display=['name',"userType","classNum"]
    search_fields = ("name", "userType", "classNum")  # 搜索字段
    #在Cards页面显示更多信息CardDetail
    # inlines=[DYInfo]